<template>
  <div class="welcome">
    <div class="content">
      <div class="sub-title">欢迎体验</div>
      <div class="title">白霜通用供应商后台管理系统</div>
      <div class="desc">Vue3.0+ElementPlus+Node+Mysql打造</div>
    </div>
    <div class="img"></div>
  </div>
</template>
<script setup>
import { reactive, toRefs, defineProps } from "vue";
const state = reactive({
  text: "欢迎来到主界面",
});
defineProps({
  msg: String,
});
</script>
<style lang="scss" scoped>
.welcome {
  display: flex;
  justify-content: center;
  align-items: center;
  .content {
    margin-right: 100px;
    .sub-title {
      font-size: 30px;
      line-height: 42px;
      color: #333;
      font-weight: bold;
    }
    .title {
      font-size: 40px;
      line-height: 80px;
      color: royalblue;
      font-weight: bold;
    }
    .desc {
      text-align: right;
      font-size: 18px;
      color: #9a9a9a;
    }
  }
  .img{
    width: 651px;
    height: 361px;
    background: url("../assets/images/welcome.jpg");
    background-size:  100% cover ;
  }
}
</style>
